<template>
  <div>
    <!-- <h2>我的收藏</h2> -->
    <span class="kong"></span>
    <van-nav-bar title="我的收藏" left-arrow @click-left="onClickLeft" fixed/>
    <div class="main">
      <van-tabs @click="onClick">
        <van-tab title="课程">内容 1</van-tab>
        <van-tab title="资讯">内容 2</van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script>
export default {
  name: "Myfavorite",
  methods: {
    onClickLeft() {
      this.$router.push("/myspeed");
    },
    onClick(index, title) {
    //   this.$toast(title);
    }
  }
};
</script>

<style scoped>
.kong {
  display: block;
  height: 46px;
}
</style>
